﻿@model LynxWiki.DomainModel.SearchData

<tr>
    <td class="TableCell"><a href="@Url.RouteUrl("PageDisplay", 
                new { action = "Page", controller = "WikiTopic", pagePath = @Model.WikiDir + "/" + @Model.TopicName  })" target="_blank">
        @Model.TopicName</a></td>
    <td class="TableCell">@Model.WikiDir</td>
    <td class="TableCell">@Model.CreatedOn.ToString("yyyy-MM-dd HH:mm:ss")</td>
    <td class="TableCell">@Model.Creator</td>
</tr>
<tr>
    <td class="TableCell" colspan="4">@Html.Raw(Model.WikiText.Substring(0, (Model.WikiText.Length > 500 ? 500 : Model.WikiText.Length)).Replace(@"\r\n", "<br />")) ....</td>
</tr>


